package com.wjw.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
//批量属性注入
@ConfigurationProperties(prefix = "com.wjw.book")
public class Book {
    private String bname;
    private Integer price;
    private String publisher;

}

